package com.gp.gyx.service.impl;

import com.gp.entity.Area;
import com.gp.gyx.dao.StatisticsAnalyzeDao;
import com.gp.gyx.service.StatisticsAnalyzeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Date 2024/4/24 15:55
 * @Author BigPotato743
 * @Email 2764826228@qq.com
 * @Phone 17623386574
 */
@Service
public class StatisticsAnalyzeServiceImpl implements StatisticsAnalyzeService {

    @Resource
    private StatisticsAnalyzeDao statisticsAnalyzeDao;

    @Override
    public List<Area> queryFactory() {
        statisticsAnalyzeDao.queryFactory().stream().forEach(System.out::println);
        return statisticsAnalyzeDao.queryFactory();
    }
}
